﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 多态2
{
    class Circle:Shape
    {
        public  int radius{ get; set; }
        public override void GetArea(int Radius) 
        {
            radius = Radius;
            double S = radius * radius * 3.14;
            Console.WriteLine("该圆的面积为："+S);
        }
    }
}
